package service

import "remoteGo/remote/coder"

type FuncID uint64

type Invoke struct {
	Uid  FuncID
	Args []interface{}
}

type Return struct {
	Rets []interface{}
}

type ChanID uint64

type ChanProxy struct {
	Cid ChanID
}

func init() {
	coder.GetGobCoder().Register(Invoke{})
	coder.GetGobCoder().Register(Return{})
	coder.GetGobCoder().Register(ChanProxy{})
}
